package com.woniuxy.springcloud.provider.student.mapper;

import com.woniuxy.springcloud.common.entity.PageDto;
import com.woniuxy.springcloud.common.entity.Student;

import java.util.List;

/**
 * description: StudentMapper <br>
 * date: 2022/1/19 6:25 下午 <br>
 * author: shesaifei <br>
 * version: 1.0 <br>
 */


public interface StudentMapper {
    void insertStudent(Student student);

    Student selectStudentBySid(int sid);

    List<Student> selectAllStudents();

    Integer updateStudent(Student student);

    Integer deleteOne(int sid);

    List<Student> findAllPageination(PageDto pageDto);

}
